package com.dilidili.service.impl;

import java.util.List;

import com.dilidili.mapper.VideotypeMapper;
import com.dilidili.service.IVideotypeService;
import com.domain.Videotype;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * 【请填写功能名称】Service业务层处理
 * 
 * @author ruoyi
 * @date 2022-03-31
 */
@Service
public class VideotypeServiceImpl implements IVideotypeService
{
    @Resource
    private VideotypeMapper videotypeMapper;

    /**
     * 查询【请填写功能名称】
     * 
     * @param videotypeId 【请填写功能名称】主键
     * @return 【请填写功能名称】
     */
    @Override
    public Videotype selectVideotypeByVideotypeId(Long videotypeId)
    {
        return videotypeMapper.selectVideotypeByVideotypeId(videotypeId);
    }

    /**
     * 查询【请填写功能名称】列表
     * 
     * @param videotype 【请填写功能名称】
     * @return 【请填写功能名称】
     */
    @Override
    public List<Videotype> selectVideotypeList(Videotype videotype)
    {
        return videotypeMapper.selectVideotypeList(videotype);
    }

    /**
     * 新增【请填写功能名称】
     * 
     * @param videotype 【请填写功能名称】
     * @return 结果
     */
    @Override
    public int insertVideotype(Videotype videotype)
    {
        return videotypeMapper.insertVideotype(videotype);
    }

    /**
     * 修改【请填写功能名称】
     * 
     * @param videotype 【请填写功能名称】
     * @return 结果
     */
    @Override
    public int updateVideotype(Videotype videotype)
    {
        return videotypeMapper.updateVideotype(videotype);
    }

    /**
     * 批量删除【请填写功能名称】
     * 
     * @param videotypeIds 需要删除的【请填写功能名称】主键
     * @return 结果
     */
    @Override
    public int deleteVideotypeByVideotypeIds(Long[] videotypeIds)
    {
        return videotypeMapper.deleteVideotypeByVideotypeIds(videotypeIds);
    }

    /**
     * 删除【请填写功能名称】信息
     * 
     * @param videotypeId 【请填写功能名称】主键
     * @return 结果
     */
    @Override
    public int deleteVideotypeByVideotypeId(Long videotypeId)
    {
        return videotypeMapper.deleteVideotypeByVideotypeId(videotypeId);
    }
}
